package com.cake.liulanxiangzhu.pojo.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class AdminCategoryInsertDTO implements Serializable {


    private Integer categoryId;

    @NotBlank(message = "必须输入分类名")
    private String categoryName;


    @NotBlank(message = "必须选择图片路径")
    private String categoryIcon;




}
